type MapStyle = 'normal' | 'dark' | 'light' | 'whitesmoke' | 'fresh' | 'blue' |  'darkblue'  | 'darkpurple' | 'grey'| 'macaron' |'wine'
interface DefaultOption {
    zoom?: number;
    center?: [number,number];
    mapStyle?: MapStyle;
}
export interface BasicProps {
    mapKey: string;
    mapPlugin?: string[];
    option?: any;
    defaultOption?: DefaultOption;
    el?: string|HTMLElement;

    // class: string;
    // style: {};
    // center: { lat: number; lng: number };
    // zoom: number;
    // minZoom: number;
    // maxZoom: number;
    // rotation: number;
    // pitch: number;
    // scale: number;
    // offset: { x: number; y: number };
    // draggable: boolean;
    // scrollable: boolean;
    // doubleClickZoom: boolean;
}
export interface MethodsType {
    getMap: () => any;
    getGeocoder:()=>any
    Amap?:any
}
